package com.jindun.paper.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.jindun.paper.model.Client;

public interface ClientRepository extends JpaRepository<Client, Integer> {
	List<Client> findByMainClientOrderByClientName (boolean mainClient);
	List<Client> findByParent(Client parent);
}
